package com.songcha.module_bookreader.api


import com.songcha.library_network.bean.BaseIntDataBean
import com.songcha.module_bookreader.bean.book.BookChapterContentDataBean

import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.Path

interface BookReaderApiService {

    @GET("/api/getChapterInfo/{chapterId}")
    fun getBookChapterContent(@Path("chapterId") chapterId:Int):Observable<BookChapterContentDataBean>

    @GET("/api/token/updateEverydayTask/{everydayTaskId}")
    fun completeTask(@Path("everydayTaskId") taskId:Int):Observable<BaseIntDataBean>
}